Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Shape[],Double,Double,Boolean,Boolean)
The drawing objects to process.
The horizontal moving distance.
The vertical moving distance.
true if all drawing objects will be duplicated.


In This Topic
ShapeActionsCommand Constructor(Shape[],Double,Double,Boolean,Boolean)
In This Topic
Initializes a new instance of the ShapeActionsCommand class for moving action.
Syntax
'Declaration
 
Public Function New( _
   ByVal drawingObjects() As Shape, _
   ByVal horizontal As Double, _
   ByVal vertical As Double, _
   Optional ByVal duplicate As Boolean, _
   Optional ByVal isRightToLeft As Boolean _
)
 
'Usage
 
Dim drawingObjects() As Shape
Dim horizontal As Double
Dim vertical As Double
Dim duplicate As Boolean
Dim isRightToLeft As Boolean
 
Dim instance As New ShapeActionsCommand(drawingObjects, horizontal, vertical, duplicate, isRightToLeft)

Parameters

drawingObjects
The drawing objects to process.
horizontal
The horizontal moving distance.
vertical
The vertical moving distance.
duplicate
true if all drawing objects will be duplicated.
isRightToLeft
See Also